﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameBasicsLibrary.MathUtility
{
    public class Converter
    {
        public static Vector3 toRadians(Vector3 v){
            v.X = toRadians(v.X);
            v.Y = toRadians(v.Y);
            v.Z = toRadians(v.Z);
            return v;
        }
        private static float toRadians(float f)
        {
            return (float)((f * Math.PI) / 180);
        }
    }
}
